<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>WB32L003 Standard Peripherals Firmware Library: wb32l003_lptim.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">WB32L003 Standard Peripherals Firmware Library
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_6d2d5b60bd20db849a9486835a2715aa.html">Libraries</a></li><li class="navelem"><a class="el" href="dir_5ec8cccc32fa528457f3b4ed28e1a2cf.html">WB32L003_StdPeriph_Driver</a></li><li class="navelem"><a class="el" href="dir_cb9a941ec225bfb9bad4e8246158e282.html">inc</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">wb32l003_lptim.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="wb32l003__lptim_8h.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">/* Define to prevent recursive inclusion -------------------------------------*/</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#ifndef __WB32L003_LPTIM_H</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#define __WB32L003_LPTIM_H</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160; <span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;</div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment">/* Includes ------------------------------------------------------------------*/</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">#include &quot;wb32l003.h&quot;</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment">/* Exported types ------------------------------------------------------------*/</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;</div><div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="struct_l_p_t_i_m___base_init_type_def.html">   31</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;{</div><div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="struct_l_p_t_i_m___base_init_type_def.html#a9a0b616b50e167092c6b1a7cf31110b9">   33</a></span>&#160;  uint32_t <a class="code" href="struct_l_p_t_i_m___base_init_type_def.html#a9a0b616b50e167092c6b1a7cf31110b9">GateEnable</a>;         </div><div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="struct_l_p_t_i_m___base_init_type_def.html#a79c502393047a9f7661be1f10f593110">   36</a></span>&#160;  uint32_t <a class="code" href="struct_l_p_t_i_m___base_init_type_def.html#a79c502393047a9f7661be1f10f593110">GateLevel</a>;          </div><div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="struct_l_p_t_i_m___base_init_type_def.html#a151e5e8f9dfbde8dbc4712612802bc42">   39</a></span>&#160;  uint32_t <a class="code" href="struct_l_p_t_i_m___base_init_type_def.html#a151e5e8f9dfbde8dbc4712612802bc42">ClkSel</a>;             </div><div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="struct_l_p_t_i_m___base_init_type_def.html#a5474a76dcb5f8c84c2d0501a41079ea8">   42</a></span>&#160;  uint32_t <a class="code" href="struct_l_p_t_i_m___base_init_type_def.html#a5474a76dcb5f8c84c2d0501a41079ea8">TogEnable</a>;          </div><div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="struct_l_p_t_i_m___base_init_type_def.html#afdcddee4d335044d10704b0c1278d234">   45</a></span>&#160;  uint32_t <a class="code" href="struct_l_p_t_i_m___base_init_type_def.html#afdcddee4d335044d10704b0c1278d234">CntTimSel</a>;          </div><div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="struct_l_p_t_i_m___base_init_type_def.html#a91bd1aefd7d8e0d6613781c996ea30e9">   48</a></span>&#160;  uint32_t <a class="code" href="struct_l_p_t_i_m___base_init_type_def.html#a91bd1aefd7d8e0d6613781c996ea30e9">AutoReload</a>;         </div><div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="struct_l_p_t_i_m___base_init_type_def.html#a49500eef6a2354eeee4adc005bf9cef6">   51</a></span>&#160;  uint32_t <a class="code" href="struct_l_p_t_i_m___base_init_type_def.html#a49500eef6a2354eeee4adc005bf9cef6">Period</a>;             </div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;} <a class="code" href="struct_l_p_t_i_m___base_init_type_def.html">LPTIM_BaseInitTypeDef</a>;</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160; <span class="comment">/* Exported constants --------------------------------------------------------*/</span></div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;</div><div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="group___l_p_t_i_m___gate___enable.html#ga8edae4fd2ec0af0a099fcbe40431a4e2">   67</a></span>&#160;<span class="preprocessor">#define LPTIM_GATE_ENABLE           (LPTIM_CR_GATE_EN) </span></div><div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="group___l_p_t_i_m___gate___enable.html#gabf96d4413391c088b3a6476d02400bcf">   68</a></span>&#160;<span class="preprocessor">#define LPTIM_GATE_DISABLE          0x00000000U        </span></div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;<span class="preprocessor">#define IS_LPTIM_GATE_ENABLE(GATE)  ((GATE == LPTIM_GATE_ENABLE) || \</span></div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;<span class="preprocessor">                                     (GATE == LPTIM_GATE_DISABLE))</span></div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;</div><div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="group___l_p_t_i_m___gate___level___selection.html#gaf9fcb25ebd1d2ba46817ac2ef3f33664">   79</a></span>&#160;<span class="preprocessor">#define LPTIM_GATELEVEL_LOW           (LPTIM_CR_GATE_P) </span></div><div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="group___l_p_t_i_m___gate___level___selection.html#ga8ef1813de88a62e13c8d79754b4756d4">   80</a></span>&#160;<span class="preprocessor">#define LPTIM_GATELEVEL_HIGH          0x00000000U       </span></div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;<span class="preprocessor">#define IS_LPTIM_GATE_LEVEL(GATE_LEVEL) ((GATE_LEVEL == LPTIM_GATELEVEL_LOW) || \</span></div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;<span class="preprocessor">                                         (GATE_LEVEL == LPTIM_GATELEVEL_HIGH))</span></div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;</div><div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="group___l_p_t_i_m___clock___source___selection.html#ga39de44bef2e2c030ff6d11ad85b8b549">   91</a></span>&#160;<span class="preprocessor">#define LPTIM_CLOCK_SOURCE_PCLK             0x00000000U                               </span></div><div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="group___l_p_t_i_m___clock___source___selection.html#gafb8bcbff4c96afe381ee2684c979caae">   92</a></span>&#160;<span class="preprocessor">#define LPTIM_CLOCK_SOURCE_LSE              (LPTIM_CR_TCK_SEL_1)                      </span></div><div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="group___l_p_t_i_m___clock___source___selection.html#gaf6483333d715408f9b2af23c97857c08">   93</a></span>&#160;<span class="preprocessor">#define LPTIM_CLOCK_SOURCE_LSI              (LPTIM_CR_TCK_SEL_1 | LPTIM_CR_TCK_SEL_0) </span></div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;<span class="preprocessor">#define IS_LPTIM_CLOCK_SOURCE(CLOCK_SOURCE) ((CLOCK_SOURCE == LPTIM_CLOCK_SOURCE_PCLK) || \</span></div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;<span class="preprocessor">                                             (CLOCK_SOURCE == LPTIM_CLOCK_SOURCE_LSE)  || \</span></div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;<span class="preprocessor">                                             (CLOCK_SOURCE == LPTIM_CLOCK_SOURCE_LSI))</span></div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;</div><div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="group___l_p_t_i_m___toggle___enable.html#ga74a3b4bb407c0d5f5d5f84a1d329dd7d">  105</a></span>&#160;<span class="preprocessor">#define LPTIM_TOG_ENABLE         (LPTIM_CR_TOG_EN) </span></div><div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="group___l_p_t_i_m___toggle___enable.html#ga3605cc3d663969f09adb4bda1f0ea7cd">  106</a></span>&#160;<span class="preprocessor">#define LPTIM_TOG_DISABLE        0x00000000U       </span></div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;<span class="preprocessor">#define IS_LPTIM_TOG(TOG)        ((TOG == LPTIM_TOG_ENABLE) || (TOG == LPTIM_TOG_DISABLE))</span></div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;</div><div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="group___l_p_t_i_m___counter.html#gad1a7c4e8473ab75268e71a45a9b55be6">  116</a></span>&#160;<span class="preprocessor">#define LPTIM_COUNTER_SELECT      (LPTIM_CR_CT_SEL) </span></div><div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="group___l_p_t_i_m___counter.html#ga0c0d6e4d9370efedd93fbf9cf3d67e02">  117</a></span>&#160;<span class="preprocessor">#define LPTIM_TIMER_SELECT        0x00000000U       </span></div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;<span class="preprocessor">#define IS_LPTIM_COUNTER(COUNTER) ((COUNTER == LPTIM_COUNTER_SELECT) || (COUNTER == LPTIM_TIMER_SELECT))</span></div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;</div><div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="group___l_p_t_i_m___auto___reload.html#ga19f08bae0d5a6f3de0d4cca9348e2dba">  127</a></span>&#160;<span class="preprocessor">#define LPTIM_AUTORELOAD_ENABLE  (LPTIM_CR_MODE) </span></div><div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="group___l_p_t_i_m___auto___reload.html#ga5ae5f5e159e2b7d24cbd246bcfd6b0d9">  128</a></span>&#160;<span class="preprocessor">#define LPTIM_AUTORELOAD_DISABLE 0x00000000U     </span></div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;<span class="preprocessor">#define IS_LPTIM_AUTORELOAD(AUTORELOAD) ((AUTORELOAD == LPTIM_AUTORELOAD_ENABLE) || (AUTORELOAD == LPTIM_AUTORELOAD_DISABLE))</span></div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;</div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;<span class="comment">/* Exported functions --------------------------------------------------------*/</span></div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;</div><div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___l_p_t_i_m.html#ga7417bfdf6384631003fd57f0f886eeab">LPTIM_DeInit</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___l_p_t_i_m.html#gacb38ac96fb2bdc029bf2c9b5d10c1943">LPTIM_BaseInit</a>(<a class="code" href="struct_l_p_t_i_m___base_init_type_def.html">LPTIM_BaseInitTypeDef</a> *Base_InitStruct);</div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___l_p_t_i_m.html#gae30d82cd47702a2cb0eedd931ff993d6">LPTIM_TCKCmd</a>(FunctionalState NewState);</div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___l_p_t_i_m.html#ga5def9be5681bdb7ecad86ea1c129c227">LPTIM_Cmd</a>(FunctionalState NewState);</div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___l_p_t_i_m.html#gaddccc85d9430682e7fafe461ae6c479f">LPTIM_ITCmd</a>(FunctionalState NewState);</div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;FlagStatus <a class="code" href="group___l_p_t_i_m.html#gae8c50d4d451a8127a706e5a38a4d642c">LPTIM_GetFlagStatus</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;ITStatus <a class="code" href="group___l_p_t_i_m.html#gad5069099cb1076c8a391f49d254f9b03">LPTIM_GetITStatus</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___l_p_t_i_m.html#ga0bde54007ed638d8bc4cba2836b0294d">LPTIM_ClearFlag</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___l_p_t_i_m.html#ga1a6df4e501dcb69f2ebae0e737fb838e">LPTIM_ClearITPendingBit</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___l_p_t_i_m.html#gab35a9ae29ce93e8ae6a9bb38c34f7858">LPTIM_SetCounter</a>(uint32_t Counter);</div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;uint32_t <a class="code" href="group___l_p_t_i_m.html#ga5de7dfce59a5d7a78bd18a4b767a15d1">LPTIM_GetCounter</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___l_p_t_i_m.html#gaead24d638f43382a01adaef716ce9af9">LPTIM_GateCmd</a>(FunctionalState NewState);</div><div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___l_p_t_i_m.html#ga9820edfadcb451a89fbd9be8261e6a4a">LPTIM_ToggleCmd</a>(FunctionalState NewState);</div><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___l_p_t_i_m.html#gab8a69d8f8188196efadc6e8745bf541c">LPTIM_SetGateLevel</a>(uint32_t Level);</div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;FlagStatus <a class="code" href="group___l_p_t_i_m.html#ga6afe7848b13a13365b75e5c31cd1dbff">LPTIM_GetSyncFlag</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;</div><div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;}</div><div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;</div><div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* __WB32L003_LPTIM_H */</span><span class="preprocessor"></span></div><div class="ttc" id="group___l_p_t_i_m_html_ga0bde54007ed638d8bc4cba2836b0294d"><div class="ttname"><a href="group___l_p_t_i_m.html#ga0bde54007ed638d8bc4cba2836b0294d">LPTIM_ClearFlag</a></div><div class="ttdeci">void LPTIM_ClearFlag(void)</div><div class="ttdoc">Clears the LPTIM pending interrupt flag.</div><div class="ttdef"><b>Definition:</b> wb32l003_lptim.c:197</div></div>
<div class="ttc" id="group___l_p_t_i_m_html_ga7417bfdf6384631003fd57f0f886eeab"><div class="ttname"><a href="group___l_p_t_i_m.html#ga7417bfdf6384631003fd57f0f886eeab">LPTIM_DeInit</a></div><div class="ttdeci">void LPTIM_DeInit(void)</div><div class="ttdoc">Deinitializes the LPTIM peripheral registers to their default reset values.</div><div class="ttdef"><b>Definition:</b> wb32l003_lptim.c:38</div></div>
<div class="ttc" id="struct_l_p_t_i_m___base_init_type_def_html_a5474a76dcb5f8c84c2d0501a41079ea8"><div class="ttname"><a href="struct_l_p_t_i_m___base_init_type_def.html#a5474a76dcb5f8c84c2d0501a41079ea8">LPTIM_BaseInitTypeDef::TogEnable</a></div><div class="ttdeci">uint32_t TogEnable</div><div class="ttdef"><b>Definition:</b> wb32l003_lptim.h:42</div></div>
<div class="ttc" id="group___l_p_t_i_m_html_gad5069099cb1076c8a391f49d254f9b03"><div class="ttname"><a href="group___l_p_t_i_m.html#gad5069099cb1076c8a391f49d254f9b03">LPTIM_GetITStatus</a></div><div class="ttdeci">ITStatus LPTIM_GetITStatus(void)</div><div class="ttdoc">Checks whether the LPTIM interrupt is set or not.</div><div class="ttdef"><b>Definition:</b> wb32l003_lptim.c:174</div></div>
<div class="ttc" id="group___l_p_t_i_m_html_ga6afe7848b13a13365b75e5c31cd1dbff"><div class="ttname"><a href="group___l_p_t_i_m.html#ga6afe7848b13a13365b75e5c31cd1dbff">LPTIM_GetSyncFlag</a></div><div class="ttdeci">FlagStatus LPTIM_GetSyncFlag(void)</div><div class="ttdoc">Waits for LPTIM WT sync finish.</div><div class="ttdef"><b>Definition:</b> wb32l003_lptim.c:310</div></div>
<div class="ttc" id="struct_l_p_t_i_m___base_init_type_def_html_a9a0b616b50e167092c6b1a7cf31110b9"><div class="ttname"><a href="struct_l_p_t_i_m___base_init_type_def.html#a9a0b616b50e167092c6b1a7cf31110b9">LPTIM_BaseInitTypeDef::GateEnable</a></div><div class="ttdeci">uint32_t GateEnable</div><div class="ttdef"><b>Definition:</b> wb32l003_lptim.h:33</div></div>
<div class="ttc" id="group___l_p_t_i_m_html_gaead24d638f43382a01adaef716ce9af9"><div class="ttname"><a href="group___l_p_t_i_m.html#gaead24d638f43382a01adaef716ce9af9">LPTIM_GateCmd</a></div><div class="ttdeci">void LPTIM_GateCmd(FunctionalState NewState)</div><div class="ttdoc">Enables or disables the LPTIM gate function.</div><div class="ttdef"><b>Definition:</b> wb32l003_lptim.c:245</div></div>
<div class="ttc" id="struct_l_p_t_i_m___base_init_type_def_html"><div class="ttname"><a href="struct_l_p_t_i_m___base_init_type_def.html">LPTIM_BaseInitTypeDef</a></div><div class="ttdoc">LPTIM Time base Configuration Structure definition</div><div class="ttdef"><b>Definition:</b> wb32l003_lptim.h:31</div></div>
<div class="ttc" id="struct_l_p_t_i_m___base_init_type_def_html_a49500eef6a2354eeee4adc005bf9cef6"><div class="ttname"><a href="struct_l_p_t_i_m___base_init_type_def.html#a49500eef6a2354eeee4adc005bf9cef6">LPTIM_BaseInitTypeDef::Period</a></div><div class="ttdeci">uint32_t Period</div><div class="ttdef"><b>Definition:</b> wb32l003_lptim.h:51</div></div>
<div class="ttc" id="struct_l_p_t_i_m___base_init_type_def_html_a79c502393047a9f7661be1f10f593110"><div class="ttname"><a href="struct_l_p_t_i_m___base_init_type_def.html#a79c502393047a9f7661be1f10f593110">LPTIM_BaseInitTypeDef::GateLevel</a></div><div class="ttdeci">uint32_t GateLevel</div><div class="ttdef"><b>Definition:</b> wb32l003_lptim.h:36</div></div>
<div class="ttc" id="group___l_p_t_i_m_html_ga9820edfadcb451a89fbd9be8261e6a4a"><div class="ttname"><a href="group___l_p_t_i_m.html#ga9820edfadcb451a89fbd9be8261e6a4a">LPTIM_ToggleCmd</a></div><div class="ttdeci">void LPTIM_ToggleCmd(FunctionalState NewState)</div><div class="ttdoc">Enables or disables the LPTIM toggle function.</div><div class="ttdef"><b>Definition:</b> wb32l003_lptim.c:268</div></div>
<div class="ttc" id="group___l_p_t_i_m_html_ga1a6df4e501dcb69f2ebae0e737fb838e"><div class="ttname"><a href="group___l_p_t_i_m.html#ga1a6df4e501dcb69f2ebae0e737fb838e">LPTIM_ClearITPendingBit</a></div><div class="ttdeci">void LPTIM_ClearITPendingBit(void)</div><div class="ttdoc">Clears the LPTIM pending interrupt bit.</div><div class="ttdef"><b>Definition:</b> wb32l003_lptim.c:208</div></div>
<div class="ttc" id="struct_l_p_t_i_m___base_init_type_def_html_afdcddee4d335044d10704b0c1278d234"><div class="ttname"><a href="struct_l_p_t_i_m___base_init_type_def.html#afdcddee4d335044d10704b0c1278d234">LPTIM_BaseInitTypeDef::CntTimSel</a></div><div class="ttdeci">uint32_t CntTimSel</div><div class="ttdef"><b>Definition:</b> wb32l003_lptim.h:45</div></div>
<div class="ttc" id="group___l_p_t_i_m_html_ga5de7dfce59a5d7a78bd18a4b767a15d1"><div class="ttname"><a href="group___l_p_t_i_m.html#ga5de7dfce59a5d7a78bd18a4b767a15d1">LPTIM_GetCounter</a></div><div class="ttdeci">uint32_t LPTIM_GetCounter(void)</div><div class="ttdoc">Gets LPTIM counter.</div><div class="ttdef"><b>Definition:</b> wb32l003_lptim.c:234</div></div>
<div class="ttc" id="group___l_p_t_i_m_html_ga5def9be5681bdb7ecad86ea1c129c227"><div class="ttname"><a href="group___l_p_t_i_m.html#ga5def9be5681bdb7ecad86ea1c129c227">LPTIM_Cmd</a></div><div class="ttdeci">void LPTIM_Cmd(FunctionalState NewState)</div><div class="ttdoc">Enables or disables the LPTIM peripheral.</div><div class="ttdef"><b>Definition:</b> wb32l003_lptim.c:106</div></div>
<div class="ttc" id="group___l_p_t_i_m_html_gab35a9ae29ce93e8ae6a9bb38c34f7858"><div class="ttname"><a href="group___l_p_t_i_m.html#gab35a9ae29ce93e8ae6a9bb38c34f7858">LPTIM_SetCounter</a></div><div class="ttdeci">void LPTIM_SetCounter(uint32_t Counter)</div><div class="ttdoc">Sets the LPTIM counter register value on runtime.</div><div class="ttdef"><b>Definition:</b> wb32l003_lptim.c:219</div></div>
<div class="ttc" id="group___l_p_t_i_m_html_gacb38ac96fb2bdc029bf2c9b5d10c1943"><div class="ttname"><a href="group___l_p_t_i_m.html#gacb38ac96fb2bdc029bf2c9b5d10c1943">LPTIM_BaseInit</a></div><div class="ttdeci">void LPTIM_BaseInit(LPTIM_BaseInitTypeDef *Base_InitStruct)</div><div class="ttdoc">Low Power Time base configuration</div><div class="ttdef"><b>Definition:</b> wb32l003_lptim.c:50</div></div>
<div class="ttc" id="group___l_p_t_i_m_html_gaddccc85d9430682e7fafe461ae6c479f"><div class="ttname"><a href="group___l_p_t_i_m.html#gaddccc85d9430682e7fafe461ae6c479f">LPTIM_ITCmd</a></div><div class="ttdeci">void LPTIM_ITCmd(FunctionalState NewState)</div><div class="ttdoc">Enables or disables the LPTIM interrupt.</div><div class="ttdef"><b>Definition:</b> wb32l003_lptim.c:129</div></div>
<div class="ttc" id="struct_l_p_t_i_m___base_init_type_def_html_a91bd1aefd7d8e0d6613781c996ea30e9"><div class="ttname"><a href="struct_l_p_t_i_m___base_init_type_def.html#a91bd1aefd7d8e0d6613781c996ea30e9">LPTIM_BaseInitTypeDef::AutoReload</a></div><div class="ttdeci">uint32_t AutoReload</div><div class="ttdef"><b>Definition:</b> wb32l003_lptim.h:48</div></div>
<div class="ttc" id="group___l_p_t_i_m_html_gae8c50d4d451a8127a706e5a38a4d642c"><div class="ttname"><a href="group___l_p_t_i_m.html#gae8c50d4d451a8127a706e5a38a4d642c">LPTIM_GetFlagStatus</a></div><div class="ttdeci">FlagStatus LPTIM_GetFlagStatus(void)</div><div class="ttdoc">Checks whether the LPTIM interrupt flag is set or not.</div><div class="ttdef"><b>Definition:</b> wb32l003_lptim.c:151</div></div>
<div class="ttc" id="struct_l_p_t_i_m___base_init_type_def_html_a151e5e8f9dfbde8dbc4712612802bc42"><div class="ttname"><a href="struct_l_p_t_i_m___base_init_type_def.html#a151e5e8f9dfbde8dbc4712612802bc42">LPTIM_BaseInitTypeDef::ClkSel</a></div><div class="ttdeci">uint32_t ClkSel</div><div class="ttdef"><b>Definition:</b> wb32l003_lptim.h:39</div></div>
<div class="ttc" id="group___l_p_t_i_m_html_gab8a69d8f8188196efadc6e8745bf541c"><div class="ttname"><a href="group___l_p_t_i_m.html#gab8a69d8f8188196efadc6e8745bf541c">LPTIM_SetGateLevel</a></div><div class="ttdeci">void LPTIM_SetGateLevel(uint32_t Level)</div><div class="ttdoc">Sets gate level high or low.</div><div class="ttdef"><b>Definition:</b> wb32l003_lptim.c:291</div></div>
<div class="ttc" id="group___l_p_t_i_m_html_gae30d82cd47702a2cb0eedd931ff993d6"><div class="ttname"><a href="group___l_p_t_i_m.html#gae30d82cd47702a2cb0eedd931ff993d6">LPTIM_TCKCmd</a></div><div class="ttdeci">void LPTIM_TCKCmd(FunctionalState NewState)</div><div class="ttdoc">Enables or disables the LPTIM time clock.</div><div class="ttdef"><b>Definition:</b> wb32l003_lptim.c:83</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by Westberry Technology (ChangZhou) Corp., Ltd. All rights reserved.
</small></address>
</body>
</html>
